<%@ page import="java.util.List" %>
<%@ page import="com.model.User" %>

<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/11
  Time: 13:13
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>我的用户列表</title>
</head>
<body>

<div>
    <h1>用户列表</h1>
</div>

<div>
    <% for (User user : (List<User>) request.getAttribute("users")) { %>
    <div class="blog-post">
        <h3 class="blog-post-title"><a href="./item.html"><%=user.getUserName() %>
        </a></h3>
        <p class="blog-post-meta">2015年2月3日 标签：<a href="#">Web开发</a></p>
        <p class="blog-post-content"><%=user.getPassword() %>
        </p>
    </div>

    <hr>
    <% } %>

</div>


</body>
</html>
